module.exports = {
  apps: [
    {
      name: 'NuxtGitcodeNews',
      port: '3000',
      exec_mode: 'cluster',
      instances: 'max',
      merge_logs: true,
      time: true,
      // max_memory_restart: '2G',
      // max_restarts: 10,
      // out_file: '/data/logs/gitcode-pm2/news-seo.out.log',
      // error_file: '/data/logs/gitcode-pm2/news-seo.error.log',
      script: './.output/server/index.mjs',
      env: { PM2_ENV: 'production' },
    },
  ],
}
